﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics.Contracts;

namespace Netium.Compiler.BackEnd.Interpreter.RuntimeStack
{
    class StackEventArgs : EventArgs
    {
        public IStackFrame Frame
        {
            get;
            private set;
        }

        public StackEventArgs(IStackFrame frame)
            : base()
        {
            Contract.Requires<NullReferenceException>(frame != null);

            Frame = frame;
        }
    }
}
